from rest_framework import serializers
from .models import VulnerabilityDB


class VulnDBserializers(serializers.ModelSerializer):
    class Meta:
        model = VulnerabilityDB
        fields = ['vulnerabilityname','id']

class VulnDBfetchserializers(serializers.ModelSerializer):
    class Meta:
        model = VulnerabilityDB
        fields = '__all__'
